#ifndef Example_H
#define Example_H

#include "FrameListener.h"
#include "KeyListener.h"
#include "MouseListener.h"
#include "Image.h"
#include "Core.h"
#include "Bullets.h"
#include <vector>

class Example : public FrameListener, public KeyListener, public MouseListener
{
    public:
        Example();
        ~Example();
    protected:
    private:
        void LoadImages();

        bool FrameStarted(float timeSinceLastFrame);
        bool FrameEnded();

        bool OnKeyDown(const SDLKey& key);
        bool OnKeyUp(const SDLKey& key);

        bool OnMouseMove(const SDL_MouseMotionEvent& motion);
        bool OnMouseButtonDown(const SDL_MouseButtonEvent& button);
        bool OnMouseButtonUp(const SDL_MouseButtonEvent& button);
        Image* img;
        Image* bulletImage;
        Image* ship;
        Image* box;
};

#endif // Example_H
